package com.sat.user.feign;

import com.sat.user.pojo.Address;
import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("user")
@RequestMapping("/address")
public interface AddressFeign {

    @RequestMapping("findAddress/{addressid}")
    public Result<Address> findAddress(@PathVariable Integer addressid);
}
